package nl.jworks.epub.organizer.repository;

import nl.jworks.epub.organizer.domain.Author;
import nl.jworks.epub.organizer.domain.Book;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface BookRepository extends CrudRepository<Book, Long> {
    List<Book> findByAuthor(Author author);
}
